package com.xyht.sca_s.student_manage_system.modules.appDynamic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.AppProcessNodeConfig;
import com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.req.AddBranchReq;
import com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.req.AppProcessNodeConfigReq;
import com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.req.ConditionNodeInfoReq;
import com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.req.ProcessNodeIdReq;

/**
 * <p>
 * 流程节点配置表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-07-26
 */
public interface AppProcessNodeConfigService extends IService<AppProcessNodeConfig> {

    ResponseResult addProcessNode(AppProcessNodeConfigReq processNodeConfigReq);

    ResponseResult addBranch(AddBranchReq addBranchReq);

    ResponseResult deleteProcessNode(ProcessNodeIdReq nodeIdReq);

    ResponseResult editProcessNode(AppProcessNodeConfigReq processNodeConfigReq);

    ResponseResult nodeConfigList(String appId);

    ResponseResult addCondition(ProcessNodeIdReq nodeIdReq);

    ResponseResult conditionNodeConfigList(String id);

    ResponseResult deleteConditionNode(ProcessNodeIdReq nodeIdReq);

    ResponseResult saveConditionNode(ConditionNodeInfoReq conditionNodeInfoReq);
}
